package com.he.duitesmodel.hander.concretehander;

import com.he.duitesmodel.hander.LeaveRequest;

public class ManagerHander extends LeaveRequest {


    @Override
    public void handerLeave(int leaveDays) {
        if (leaveDays <= 1) {
            System.out.println("经理批准");
        } else if (leaveDays > 1) {
            System.out.println("经理不能审批，下一级");
            leaveRequest.handerLeave(leaveDays);
        }
    }
}
